#ifndef _DIOS_SSP_MCHPF_API_H_
#define _DIOS_SSP_MCHPF_API_H_

#include <stdlib.h>

/**********************************************************************************
Function:      // dios_ssp_mchpf_init_api
Description:   // init multi-channel hpf module
Input:         // mics: number of microphone channels
Output:        // none
Return:        // success: return multi-channel hpf module pointer
                  failure: return NULL
**********************************************************************************/
void* dios_ssp_mchpf_init_api(int mics);

/**********************************************************************************
Function:      // dios_ssp_mchpf_reset_api
Description:   // reset multi-channel hpf module
Input:         // ptr: multi-channel hpf module pointer
Output:        // none
Return:        // success: return 0, failure: return ERROR_HPF
**********************************************************************************/
int dios_ssp_mchpf_reset_api(void* ptr);

/**********************************************************************************
Function:      // dios_ssp_mchpf_process_api
Description:   // multi-channel hpf process
Input:         // ptr: multi-channel hpf module pointer
                  io_buf: input and output buffer
                  framelen: frame length per channel
                  mics: number of microphone channels
Output:        // none
Return:        // success: return 0, failure: return ERROR_HPF
**********************************************************************************/
int dios_ssp_mchpf_process_api(void* ptr, float* io_buf, int framelen, int mics);

/**********************************************************************************
Function:      // dios_ssp_mchpf_uninit_api
Description:   // free multi-channel hpf module
Input:         // ptr: multi-channel hpf module pointer
Output:        // none
Return:        // success: return 0, failure: return ERROR_HPF
**********************************************************************************/
int dios_ssp_mchpf_uninit_api(void* ptr);

#endif  /* _DIOS_SSP_MCHPF_API_H_ */
